home *** CD-ROM | disk | FTP | other *** search
- global gcurrchapternumber, gcurrlessonnumber, gplaystatus, gPauseMode
-
- on mouseDown
- pushBtn()
- if rollOver(10) then
- set the visible of sprite 11 to 1
- if qtkind(gcurrchapternumber) = 0 then
- pausethemoov()
- set newchapternumber to gcurrchapternumber + 1
- donewchapter(gcurrlessonnumber, newchapternumber, gplaystatus)
- else
- if gPauseMode then
- playthemoov()
- set gplaystatus to #play
- else
- pausethemoov()
- set gplaystatus to #pause
- end if
- end if
- end if
- end
-